package com.itx.gatewayx.domain.dto;

import lombok.Data;

import java.util.List;

@Data
public class NewsApiResponse {
    private String reason;
    private Result result;
    private Integer errorCode;
    
    @Data
    public static class Result {
        private Integer stat;
        private List<NewsData> data;
        private Integer page;
        private Integer pageSize;
    }
    
    @Data
    public static class NewsData {
        private String uniquekey;
        private String title;
        private String date;
        private String category;
        private String authorName;
        private String url;
        private String thumbnailPicS;
        private String thumbnailPicS02;
        private String thumbnailPicS03;
        private String isContent;
    }
} 